package com.my_test.webmagic.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-05-23
 */
@TableName("floor")
public class Floor extends Model<Floor> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @TableField("author_user_id")
    private Long authorUserId;

    @TableField("author_user_name")
    private String authorUserName;

    @TableField("author_props")
    private String authorProps;

    @TableField("author_portrait")
    private String authorPortrait;

    @TableField("author_user_nickname")
    private String authorUserNickname;

    @TableField("post_id")
    private Long postId;

    @TableField("is_anonym")
    private Boolean isAnonym;

    @TableField("forum_id")
    private Long forumId;

    @TableField("thread_id")
    private Long threadId;

    @TableField("content")
    private String content;

    @TableField("post_no")
    private Long postNo;

    @TableField("type")
    private String type;

    @TableField("comment_num")
    private Integer commentNum;

    @TableField("is_fold")
    private Integer isFold;

    @TableField("props")
    private String props;

    @TableField("post_index")
    private Integer postIndex;

    @TableField("pb_tpoint")
    private Integer pbTpoint;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAuthorUserId() {
        return authorUserId;
    }

    public void setAuthorUserId(Long authorUserId) {
        this.authorUserId = authorUserId;
    }

    public String getAuthorUserName() {
        return authorUserName;
    }

    public void setAuthorUserName(String authorUserName) {
        this.authorUserName = authorUserName;
    }

    public String getAuthorProps() {
        return authorProps;
    }

    public void setAuthorProps(String authorProps) {
        this.authorProps = authorProps;
    }

    public String getAuthorPortrait() {
        return authorPortrait;
    }

    public void setAuthorPortrait(String authorPortrait) {
        this.authorPortrait = authorPortrait;
    }

    public String getAuthorUserNickname() {
        return authorUserNickname;
    }

    public void setAuthorUserNickname(String authorUserNickname) {
        this.authorUserNickname = authorUserNickname;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Boolean getAnonym() {
        return isAnonym;
    }

    public void setAnonym(Boolean isAnonym) {
        this.isAnonym = isAnonym;
    }

    public Long getForumId() {
        return forumId;
    }

    public void setForumId(Long forumId) {
        this.forumId = forumId;
    }

    public Long getThreadId() {
        return threadId;
    }

    public void setThreadId(Long threadId) {
        this.threadId = threadId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getPostNo() {
        return postNo;
    }

    public void setPostNo(Long postNo) {
        this.postNo = postNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getIsFold() {
        return isFold;
    }

    public void setIsFold(Integer isFold) {
        this.isFold = isFold;
    }


    public String getProps() {
        return props;
    }

    public void setProps(String props) {
        this.props = props;
    }

    public Integer getPostIndex() {
        return postIndex;
    }

    public void setPostIndex(Integer postIndex) {
        this.postIndex = postIndex;
    }

    public Integer getPbTpoint() {
        return pbTpoint;
    }

    public void setPbTpoint(Integer pbTpoint) {
        this.pbTpoint = pbTpoint;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "FloorEntity{" +
                "id=" + id +
                ", authorUserId=" + authorUserId +
                ", authorUserName=" + authorUserName +
                ", authorProps=" + authorProps +
                ", authorPortrait=" + authorPortrait +
                ", authorUserNickname=" + authorUserNickname +
                ", postId=" + postId +
                ", isAnonym=" + isAnonym +
                ", forumId=" + forumId +
                ", threadId=" + threadId +
                ", content=" + content +
                ", postNo=" + postNo +
                ", type=" + type +
                ", commentNum=" + commentNum +
                ", isFold=" + isFold +
                ", props=" + props +
                ", postIndex=" + postIndex +
                ", pbTpoint=" + pbTpoint +
                "}";
    }}
